<div id="header" >
	<div class="menu" style="float:left;list-style-type:none;">
		<ul>
			<li  style="list-style-type:none;float:left;padding:10px"><a hideFocus="true" class="menu-pub" href="<?php echo URL('index');?>">今日团购</a></li>
			<li  style="list-style-type:none;float:left;padding:10px"><a hideFocus="true" class="menu-user" href="<?php echo URL('index.past');?>">往期团购</a></li>
			<li  style="list-style-type:none;float:left;padding:10px"><a hideFocus="true" class="menu-home" href="<?php echo URL('help');?>">玩转团购</a></li>
			<li  style="list-style-type:none;float:left;padding:10px"><a hideFocus="true" class="menu-weibo" href="<?php echo URL('account.invite');?>">邮件订阅</a></li>
		</ul>
		<div class="menu-bg skin-bg"></div>
		<div class="menu-arrow skin-bg"></div>
	</div>
	<div class="userm">

		<span class="user-link" id="userzone" style="float:right">
		<?php
			$uid = User::uid();
			if ($uid) {
		?>
			<a href="<?php echo URL('account.ucenter');?>">个人中心</a>
			<a href="<?php echo URL('account.logout');?>">退出</a>
			
		<?php
			} else {
		?>
			<a href="<?php echo URL('account.login');?>" rel="e:lg">登录</a>
			<a href="<?php echo URL('account.register');?>" rel="e:lg">注册</a>
		<?php
			   }
		?>
		</span>
	</div>
</div>
